package com.hd.pzhwlxt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
@create: 2022-09-21 9:02
@author: 怀念天空
@Description: 
*/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "vehicle_repair_material_info_tbl")
public class VehicleRepairMaterialInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 维修编号
     */
    @TableField(value = "repair_vehicle_record_id")
    private String repairVehicleRecordId;

    /**
     * 物资编号
     */
    @TableField(value = "material_id")
    private Integer materialId;

    /**
     * 使用时间
     */
    @TableField(value = "use_time")
    private Date useTime;

    /**
     * 使用数量
     */
    @TableField(value = "use_count")
    private Integer useCount;

    /**
     * 经手人
     */
    @TableField(value = "handle_people")
    private String handlePeople;

    @TableField(exist = false)
    private Material material;
}